<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>学习资料</title>
<script src="http://cdn.static.runoob.com/libs/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
	<table>
		<tr>
			<td><label>名字:</label></td>
			<td><p>${tool.name }</p></td>
		</tr>
		<tr>
			<td><label>要求:</label></td>
			<td><p>${tool.quest }</p>
		</tr>
		<tr>
			<td><label>文件:</label></td>
			<td><form action="../download/toolDownload.action"><input type="hidden" name="fileName" value="${tool.source }"><input type="submit" value="下载资源"></form></td>
		</tr>
		<tr>
			<td><label>操作:</label></td>
			<td><button id="updatebtn" value="${tool.unumber }">修改</button></td>
		</tr>
	</table>
	<script type="text/javascript">
	$("#updatebtn").click(function(){
		window.location.href="../known/toUpdateToolInfoPage.action?number="+$("#updatebtn").val();
	});
	</script>
</body>
</html>